class Peron:
    # def log(self, info):
    #     print(info)
    #
    # def log(self, info, info2, info3):
    #     print(info, info2, info3)

    def log(self, *args):
        print(args)


p = Peron()
p.log("hello")
p.log("hello", "hi", "666")


class SuperPerson(Peron):
    def log(self, *args, **kwargs):
        print(args, "====", kwargs)


sp = SuperPerson()
print(SuperPerson.mro())
sp.log("hi", a=10, b=20)


class RobotPerson(Peron):
    def log(self):
        print(f" hello 我 是机器人")


rp = RobotPerson()
rp.log()